package com.visizen.wisdomclass.server.model.dto;

import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.serializer.SerializerFeature;
import com.visizen.wisdomclass.server.model.WcArticleContent;

import java.util.Date;

/**
 * Created by Hys on 2014/7/3.
 */
public class ArticleContentExt extends WcArticleContent {
    private Integer commentCount;
    private Integer praiseCount;

    @JSONField(name = "articleId", serialzeFeatures = SerializerFeature.WriteNullNumberAsZero)
    private Long articleId;
    @JSONField(name = "articleTitle")
    private String article_title;
    @JSONField(name = "uploadUserId", serialzeFeatures = SerializerFeature.WriteNullNumberAsZero)
    private Long upload_user_id;

    private  Date pubtime;

    public Date getPubtime() {
        return pubtime;
    }

    public void setPubtime(Date pubtime) {
        this.pubtime = pubtime;
    }

    public Integer getCommentCount() {
        return commentCount;
    }

    public void setCommentCount(Integer commentCount) {
        this.commentCount = commentCount;
    }

    public Integer getPraiseCount() {
        return praiseCount;
    }

    public void setPraiseCount(Integer praiseCount) {
        this.praiseCount = praiseCount;
    }

    public Long getArticleId() {
        return articleId;
    }

    public void setArticleId(Long articleId) {
        this.articleId = articleId;
    }

    public String getArticle_title() {
        return article_title;
    }

    public void setArticle_title(String article_title) {
        this.article_title = article_title;
    }

    public Long getUpload_user_id() {
        return upload_user_id;
    }

    public void setUpload_user_id(Long upload_user_id) {
        this.upload_user_id = upload_user_id;
    }
}
